package com.maomao.ssoserver.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.maomao.ssoserver.mapper.BaseRoleMapper;
import com.maomao.ssoserver.model.BaseRole;
import com.maomao.ssoserver.service.RoleService;

@Service
public class RoleServiceImpl implements RoleService{
	
	@Autowired
	private BaseRoleMapper baseRoleMapper;

	@Override
	public List<BaseRole> findByUserId(Long userId) {
		
		return baseRoleMapper.findByUserId(userId);
	}

}
